package com.hmall;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@MapperScan(basePackages = {"com.hmall.mapper"})

@ComponentScan(basePackages = {"com.hmall","com.hmall.common"})
@SpringBootApplication
public class HMallApplication {

    public static void main(String[] args) {
        SpringApplication.run(HMallApplication.class, args);
    }
}